<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>videoTest</title>
</head>
<style>
    .container {
      display: flex;
      justify-content: center; /* 水平居中 */
      align-items: center;     /* 垂直居中 */
      height: 100vh;           /* 占满整个视口高度 */
    }
</style>
<body>
   <div class="container">
       <video controls autoplay loop name="media" id="my-bgm">
           <source src="./02.mp4" type="audio/mpeg">
       </video>
   </div>
</body>
<script>

</script>
</html>